package xian.woniuxy.be.entity;

import java.io.Serializable;

public class Orderdetail implements Serializable {
    private Integer orderdetailId;

    private Goods goods;

    private Integer goodsId;

    private Integer orderId;

    private Integer goodsCount;

    private static final long serialVersionUID = 1L;

    public Integer getOrderdetailId() {
        return orderdetailId;
    }

    public void setOrderdetailId(Integer orderdetailId) {
        this.orderdetailId = orderdetailId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        return "Orderdetail{" +
                "orderdetailId=" + orderdetailId +
                ", goods=" + goods +
                ", goodsId=" + goodsId +
                ", orderId=" + orderId +
                ", goodsCount=" + goodsCount +
                '}';
    }
}